package com.db.person.service;

import com.db.person.bean.User_inf;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IUserService {
    public User_inf login( String loginname, String password);

    public void regist(User_inf user_inf);

    public User_inf getByEmail( String loginname, String username,  String email);

    public void setPwd(String loginname, String password);

    public User_inf getByLoginname(String loginname);

    public List<User_inf> getAll();

    public User_inf getById(Integer id);

    public void setSomeById(User_inf user_inf);

    public void deleteById(Integer id);
}
